package designPatterns.P07_装饰器模式_Decorator.P03_Shape.decorator;

import designPatterns.P07_装饰器模式_Decorator.P03_Shape.Shape;

/**
 * @author d11yu
 */
public abstract class Color implements Shape {
    private Shape shape;

    public Color(Shape shape) {
        this.shape = shape;
    }

    @Override
    public void draw() {
        System.out.println("绘制图形");
    }
}
